package cn.bdqn.entity;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @ProjectName: ycbdqn
 * @Package: cn.bdqn.entity
 * @Author: huat
 * @Date: 2020/3/3 20:07
 * @Version: 1.0
 */
@Setter
@Getter
public class ClassInfo {
    private int id;
    @NotEmpty(message = "课程名称不能为空")
    private String className;//课程名称
    private String classUrl;//课程图片url
    @NotEmpty(message = "课程描述不能为空")
    private String classDescribe;//课程描述
}
